-- GENERATED SPELL FOR [Drak'aguul] --


function spell0_26919(pUnit, Event) --@Berserker Charge,n/a--
pUnit:FullCastSpellOnTarget(52460,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26919', 587, 1)
end

function spell1_26919(pUnit, Event) --@Drak\'aguul\'s Soldiers,n/a--
pUnit:FullCastSpellOnTarget(52457,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26919', 10331, 1)
end

function Sorts_26919(pUnit, Event)
local choix_sorts_26919 = math.random(0, 1)
if choix_sorts_26919 == 0 then
pUnit:RegisterEvent('spell0_26919', 1, 1)
end
if choix_sorts_26919 == 1 then
pUnit:RegisterEvent('spell1_26919', 1, 1)
end
end

function mob26919_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26919', math.random(1500, 3000), 1)
end

function mob26919_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26919_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26919_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26919, 1, 'mob26919_Action')
RegisterUnitEvent(26919, 2, 'mob26919_Leave')
RegisterUnitEvent(26919, 3, 'mob26919_Kill')
RegisterUnitEvent(26919, 4, 'mob26919_Die')
